import Vue from 'vue'
import App from './App.vue'

import router from './router/index'
import store from './store/index'
import { instance, instance2 } from 'network/index'
import VueLazyLoad from 'vue-lazyload'

// 引入第三方登录sdk
import { QC } from './assets/libs/qq_jssdk'

Vue.use(VueLazyLoad, {
  loading: './assets/img/loader.gif',
  preLoad: 1.3,
})

// import fastClick from 'fastclick'
// //初始化FastClick实例。在页面的DOM文档加载完成后
// fastClick.attach(document.body)



Vue.config.productionTip = false
Vue.prototype.$require = instance
Vue.prototype.$QQRequire = instance2
Vue.prototype.$QC = QC
new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app')
